package main

type Config struct {
	Host string `json:"HOST"`
	Port string `json:"PORT"`
	// ImgPath      string            `json:"IMG_PATH"`
	Input        map[string]string `json:"INPUT"`
	Quality      float32           `json:"QUALITY,string"`
	AllowedTypes []string          `json:"ALLOWED_TYPES"`
	ExhaustPath  string            `json:"EXHAUST_PATH"`
}

var (
	configPath             string
	dumpSystemd            bool
	debugMode, showVersion bool
	remoteRaw              = "remote-raw"
	config                 Config
	version                = "0.4.1"
)

const (
	// webpMax = 383
	webpMax uint = 16383 //像素最大数量是16383x16383
	avifMax      = 65536
)
